@inkeep/open-knowledge 0.87.3 → 0.87.5-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/THIRD_PARTY_NOTICES.md +1 -0
- package/dist/assets/skills/project/SKILL.md +1 -1
- package/dist/assets/skills/project/references/conflict-resolution.md +1 -1
- package/dist/assets/skills/project/references/doc-editing.md +1 -1
- package/dist/cli.mjs +75 -75
- package/dist/constants-BTkEHXzz.mjs +1 -0
- package/dist/dist-Cv2PQOLP.mjs +2221 -0
- package/dist/dist-catZfEB7.mjs +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +248 -248
- package/dist/{init-DKr3mAYb.mjs → init-B0HZTMrR.mjs} +26 -26
- package/dist/init-Cxpu4pbQ.mjs +1 -0
- package/dist/{launch-json-removal-DZEf1Xkv.mjs → launch-json-removal-BkTNm3c-.mjs} +1 -1
- package/dist/loader-B3hEOQVY.mjs +1 -0
- package/dist/{loader-BjiMfGjg.mjs → loader-DP-nPPZA.mjs} +1 -1
- package/dist/{md-manager-BGnqyqi1-I7NmBKjQ.mjs → md-manager-BGnqyqi1-DoZJSsFD.mjs} +172 -172
- package/dist/{open-browser-kPiLSvpr.mjs → open-browser-Bouj-ci9.mjs} +1 -1
- package/dist/parse-worker.mjs +1 -1
- package/dist/preview-BOXXnhBV.mjs +1 -0
- package/dist/{preview-DYak5SYR.mjs → preview-C92fHry_.mjs} +1 -1
- package/dist/public/assets/{AccountSection-xEdD05tW.js → AccountSection-CHLobgpO.js} +1 -1
- package/dist/public/assets/{ActivityModeContent-CmpyZXn6.js → ActivityModeContent-BCDNq6Vj.js} +1 -1
- package/dist/public/assets/{AddPropertiesButton-CaGJK03A.js → AddPropertiesButton-Df8YbLY4.js} +2 -2
- package/dist/public/assets/{AgentConnectionsSection-CFTMQXUz.js → AgentConnectionsSection-CrXyZ7s0.js} +1 -1
- package/dist/public/assets/{AgentDiffPane-CeQSD852.js → AgentDiffPane-ClLlEwwH.js} +1 -1
- package/dist/public/assets/{AttachmentsSection-CItcxDXd.js → AttachmentsSection-BaNEINam.js} +1 -1
- package/dist/public/assets/{AuthModal-CDv9Ka9d.js → AuthModal-CiMWDLP2.js} +1 -1
- package/dist/public/assets/{CodeMirrorPropInput-B_mJwxj5.js → CodeMirrorPropInput-BArPCB_D.js} +2 -2
- package/dist/public/assets/{ContentRulesSection-Cf2VMeVj.js → ContentRulesSection-D3U4OKY-.js} +1 -1
- package/dist/public/assets/{DiffViewBoundary-DS5sFg8l.js → DiffViewBoundary-3eDWqiFB.js} +1 -1
- package/dist/public/assets/{DocumentContext-CwQ1oaSh.js → DocumentContext-Bqs88KmQ.js} +3 -3
- package/dist/public/assets/{EditorModeToggle-CsNsdazg.js → EditorModeToggle-CqGUDvi5.js} +1 -1
- package/dist/public/assets/{ExcalidrawDocEditor-D3s-BPUM.js → ExcalidrawDocEditor-8vsPu1pP.js} +1 -1
- package/dist/public/assets/FeedbackForm-C49v3vCV.js +1 -0
- package/dist/public/assets/{GraphPanel-BqNuC1PH.js → GraphPanel-CbJhUFdz.js} +2 -2
- package/dist/public/assets/{ImportSkillDialog-Uih4wSGU.js → ImportSkillDialog-FEorgbTw.js} +1 -1
- package/dist/public/assets/{LinkPreviewsSection-Dauw-uzK.js → LinkPreviewsSection-4-TD7MMH.js} +1 -1
- package/dist/public/assets/{LintConfigEditor-DUoZy0bj.js → LintConfigEditor-Db2YKLpK.js} +1 -1
- package/dist/public/assets/{LintingSection-xaQv5BXj.js → LintingSection-5q-82m8S.js} +1 -1
- package/dist/public/assets/ManagedArtifactProperties-C4tDV1dh.js +1 -0
- package/dist/public/assets/ManagedArtifactProperties-RV8k9v_W.js +1 -0
- package/dist/public/assets/{McpConsentDialogBody-xbsziJ8M.js → McpConsentDialogBody-T-AsMqAM.js} +1 -1
- package/dist/public/assets/{MermaidDocEditor-DgWz43Vs.js → MermaidDocEditor-DxwWgnS9.js} +1 -1
- package/dist/public/assets/{NetworkAccessSection-CCP2ad6X.js → NetworkAccessSection-Bli_TwC9.js} +1 -1
- package/dist/public/assets/{OkignoreSection-CQywQkmc.js → OkignoreSection-CRFoJuYb.js} +1 -1
- package/dist/public/assets/{ProjectTemplatesSection-BtUwaSYs.js → ProjectTemplatesSection-Dm9jRJL0.js} +1 -1
- package/dist/public/assets/{PropertyDisplayRow-V938UoF4.js → PropertyDisplayRow-CGHweNEd.js} +2 -2
- package/dist/public/assets/{PublishToGitHubDialog-CfAyMsqz.js → PublishToGitHubDialog-B2me1giD.js} +1 -1
- package/dist/public/assets/{RegisteredAgentIcon-B0qjAvei.js → RegisteredAgentIcon-g86u94_w.js} +1 -1
- package/dist/public/assets/{SchemaConfigEditor-7kpbhfQO.js → SchemaConfigEditor-xdiDSy2g.js} +1 -1
- package/dist/public/assets/{SearchSection-3golRmTw.js → SearchSection-Bf1V9QwZ.js} +1 -1
- package/dist/public/assets/{SessionsHost-BZS5gjJ9.js → SessionsHost-DM9lcsTc.js} +2 -2
- package/dist/public/assets/{SettingsDialogBody-CMfti5d7.js → SettingsDialogBody-DftEF818.js} +2 -2
- package/dist/public/assets/{ShareReceiveMissDialog-DGhF69QI.js → ShareReceiveMissDialog-BfsIZpEx.js} +1 -1
- package/dist/public/assets/{SkillCostValue-DK-VfwfI.js → SkillCostValue-Cv4fxI3N.js} +1 -1
- package/dist/public/assets/{SkillEditBanner-BYQhRIjd.js → SkillEditBanner-1xI4AWZN.js} +1 -1
- package/dist/public/assets/{SkillForkDialog-Cp2VfBKT.js → SkillForkDialog-B7AI0Y-p.js} +1 -1
- package/dist/public/assets/{SkillInstallMenu-CsSIF4d7.js → SkillInstallMenu-ujjOQM8T.js} +1 -1
- package/dist/public/assets/SkillModeBanner-DJo427go.js +1 -0
- package/dist/public/assets/{SkillOriginInline-DXmcEqEw.js → SkillOriginInline-COdARBhh.js} +1 -1
- package/dist/public/assets/{SkillPluginBundleDialog-D8f_Pygy.js → SkillPluginBundleDialog-CriBEhj8.js} +1 -1
- package/dist/public/assets/{SkillToolbarControls-Bfnu-caI.js → SkillToolbarControls-uynLsV5F.js} +1 -1
- package/dist/public/assets/{SkillsManagerSection-BQ6eCTsP.js → SkillsManagerSection-De-RcGVw.js} +1 -1
- package/dist/public/assets/{SlidesToolbarControls-DXn_DkWH.js → SlidesToolbarControls-C79NF9Vc.js} +1 -1
- package/dist/public/assets/{SourceEditor-uyVGPZVz.js → SourceEditor-GFY333ie.js} +1 -1
- package/dist/public/assets/{SpellingSettings-Bqz9pslj.js → SpellingSettings-CdT9a_rM.js} +1 -1
- package/dist/public/assets/{SyncSection-CHdkBvr_.js → SyncSection-oPddlij9.js} +1 -1
- package/dist/public/assets/{SyncStatusBadge-D8kZ-UVu.js → SyncStatusBadge-Byx3qoQq.js} +1 -1
- package/dist/public/assets/{TemplateRow-CQTK4uJX.js → TemplateRow-DK66-N83.js} +2 -2
- package/dist/public/assets/{TerminalLaunchContext-VC_1IQ2O.js → TerminalLaunchContext-8h1FtRCM.js} +1 -1
- package/dist/public/assets/{TerminalPanel-DYxs61YB.js → TerminalPanel-BQ72xwRb.js} +1 -1
- package/dist/public/assets/{TerminalSection-DSwPotQY.js → TerminalSection-DbfCiHbJ.js} +1 -1
- package/dist/public/assets/{TerminalWindowApp-Dc3r2kpi.js → TerminalWindowApp-CaI80HFq.js} +1 -1
- package/dist/public/assets/{TextDocEditor-C-LtGMe_.js → TextDocEditor-C-pM2yOa.js} +1 -1
- package/dist/public/assets/ThemePluginSection-X00m8_oh.js +6 -0
- package/dist/public/assets/ThreadView-DesX-mmn.js +28 -0
- package/dist/public/assets/{TimelineDiffPane-CA1gVTWW.js → TimelineDiffPane-B6lBH3xv.js} +1 -1
- package/dist/public/assets/{agent-connections-BdU_6bUV.js → agent-connections-WVUAXE1-.js} +1 -1
- package/dist/public/assets/{agent-registry-BdHe0AEQ.js → agent-registry-tQw4RviC.js} +1 -1
- package/dist/public/assets/{bridge-BMIee44l.js → bridge-D0zaOiIE.js} +3 -3
- package/dist/public/assets/{calendar-B0urmsQ1.js → calendar-aomRwj8d.js} +1 -1
- package/dist/public/assets/{catalog-CEXii1s5.js → catalog-igkheV1C.js} +1 -1
- package/dist/public/assets/{client-version-DmgW9FXt.js → client-version-DTnfpIjW.js} +1 -1
- package/dist/public/assets/{comment-chips-DQXR3C-O.js → comment-chips-BtMos4uY.js} +1 -1
- package/dist/public/assets/{config-provider-DaAAjkEU.js → config-provider-BJVaZWcl.js} +1 -1
- package/dist/public/assets/config-schema-B1_3y0l5.js +1 -0
- package/dist/public/assets/{css-color-to-hex-Csde6-Qs.js → css-color-to-hex-CkzbmYKA.js} +1 -1
- package/dist/public/assets/{doc-undo-manager-Dn-9YJtJ.js → doc-undo-manager-BcgKArWo.js} +1 -1
- package/dist/public/assets/{field-controls-D31F23S8.js → field-controls-BiNEe5aI.js} +1 -1
- package/dist/public/assets/field-controls-DDgmYrsM.js +1 -0
- package/dist/public/assets/{ime-composition-B56Lnl92.js → ime-composition-BAiFUm_0.js} +1 -1
- package/dist/public/assets/index-C9Dhh52J.js +2209 -0
- package/dist/public/assets/{lint-config-client-CLttd-hM.js → lint-config-client-N8fwiy94.js} +1 -1
- package/dist/public/assets/{lint-plugins-zerBpEpu.js → lint-plugins-B41rezsy.js} +1 -1
- package/dist/public/assets/{markdown-lint-wCP_bSbs.js → markdown-lint-DXOOOaOH.js} +3 -3
- package/dist/public/assets/{markdownlint-rule-browser-nIryvJXe.js → markdownlint-rule-browser-Bp3fW5jF.js} +1 -1
- package/dist/public/assets/messages--ehzGEyL.js +1 -0
- package/dist/public/assets/messages-BY8vnrN5.js +1 -0
- package/dist/public/assets/messages-BsaUfgyT.js +1 -0
- package/dist/public/assets/messages-C3jyZ-tQ.js +1 -0
- package/dist/public/assets/messages-CRaWmTK3.js +1 -0
- package/dist/public/assets/messages-CjxzZ_an.js +1 -0
- package/dist/public/assets/messages-D9Q_Zb27.js +1 -0
- package/dist/public/assets/messages-Di5PZudR.js +1 -0
- package/dist/public/assets/messages-Dt7AN68O.js +1 -0
- package/dist/public/assets/messages-SQ_HVqr-.js +1 -0
- package/dist/public/assets/messages-VFA4QUBO.js +1 -0
- package/dist/public/assets/messages-kSFbJVg5.js +1 -0
- package/dist/public/assets/messages-mX7CV8Xh.js +1 -0
- package/dist/public/assets/{pending-receive-nav-store-B_OOdCPc.js → pending-receive-nav-store-B9uyVDcN.js} +1 -1
- package/dist/public/assets/{preferred-session-events-BnXTJh1z.js → preferred-session-events-lXAuS48Q.js} +1 -1
- package/dist/public/assets/progress-C0gt7LAt.js +10 -0
- package/dist/public/assets/{saved-themes-client-BPWMEtsb.js → saved-themes-client-D8SE9Dxo.js} +1 -1
- package/dist/public/assets/{schema-section-Ceiv9_HZ.js → schema-section-QQLWvNa_.js} +1 -1
- package/dist/public/assets/{schemas-api-CL5ZXlEj.js → schemas-api-CxajedMJ.js} +2 -2
- package/dist/public/assets/{selection-context-D6LrKySj.js → selection-context-Bpox3Yhn.js} +1 -1
- package/dist/public/assets/sign-in-terminal-events-gIutiXLp.js +1 -0
- package/dist/public/assets/{skills-api-DjykKWn7.js → skills-api-BA63vOx_.js} +1 -1
- package/dist/public/assets/{src-B2H75EGD.js → src-DvFRMb_f.js} +1 -1
- package/dist/public/assets/storage-scope-DKwOLa7W.js +1 -0
- package/dist/public/assets/{tag-pill-input-D_fe_Zbo.js → tag-pill-input--UfEq84b.js} +1 -1
- package/dist/public/assets/{telemetry-impl-DnaOV3NJ.js → telemetry-impl-C3w8nakT.js} +1 -1
- package/dist/public/assets/{telemetry-startup-BRRC1yb-.js → telemetry-startup-6J8BtuaH.js} +1 -1
- package/dist/public/assets/{terminal-launch-events-3vnER_eI.js → terminal-launch-events-DHPVU8Cu.js} +1 -1
- package/dist/public/assets/{typing-burst-detector-ynzb1FVj.js → typing-burst-detector-qyrW2QW_.js} +1 -1
- package/dist/public/assets/{uninstall-DyYmGM9i.js → uninstall-DizefbDX.js} +1 -1
- package/dist/public/assets/{use-activity-panel-DQMWxOEX.js → use-activity-panel-DdkcoGpF.js} +1 -1
- package/dist/public/assets/{use-apply-config-color-theme-Bpi7AD0s.js → use-apply-config-color-theme-QBoEiHRM.js} +2 -2
- package/dist/public/assets/{use-apply-config-language-DlSviEmN.js → use-apply-config-language-CbiUoguW.js} +2 -2
- package/dist/public/assets/{use-conflicts-CIjDyM9c.js → use-conflicts-DZvpR_hq.js} +1 -1
- package/dist/public/assets/{use-live-xterm-theme-BJbDRXxo.js → use-live-xterm-theme-COXlqksJ.js} +1 -1
- package/dist/public/assets/{use-open-skill-CpycrCy6.js → use-open-skill-CZ1zDukA.js} +1 -1
- package/dist/public/assets/{use-semantic-search-status-D9HCPCCa.js → use-semantic-search-status-BENQM7pt.js} +1 -1
- package/dist/public/assets/{use-skill-origin-CiJpOXFq.js → use-skill-origin-H8JMxGxS.js} +1 -1
- package/dist/public/assets/{use-skill-targets-EVebu2kh.js → use-skill-targets-DJsi-lk-.js} +1 -1
- package/dist/public/assets/{use-skills-BWAh3dDS.js → use-skills-BQFGJ-V4.js} +1 -1
- package/dist/public/assets/{use-terminal-enabled-CuNtq9W_.js → use-terminal-enabled-BXdPTHGz.js} +1 -1
- package/dist/public/assets/{use-timeline-entry-diff-Mgt2cSla.js → use-timeline-entry-diff-Dk-vSJNV.js} +1 -1
- package/dist/public/assets/{use-workspace-h2j0Puyv.js → use-workspace-DLEb_ZeP.js} +1 -1
- package/dist/public/index.html +56 -56
- package/dist/public/uninstall.html +3 -3
- package/dist/{registry-probes-Fz7xs4XZ.mjs → registry-probes-DR7RHs-x.mjs} +7 -7
- package/dist/{removal-file-path-BhVtJjmx.mjs → removal-file-path-q6DdNYPp.mjs} +1 -1
- package/dist/{repair-launch-json-Bn-fk60m.mjs → repair-launch-json-I57zhKjr.mjs} +1 -1
- package/dist/{repair-mcp-configs-DTDzYLVm.mjs → repair-mcp-configs-CIePXQjA.mjs} +1 -1
- package/dist/src-C6hpRK1Z.mjs +16 -0
- package/dist/src-CI-IG26s.mjs +1 -0
- package/dist/{start-CZlfozPm.mjs → start-BzsIwG3Z.mjs} +3 -3
- package/dist/start-DXv1zj_Z.mjs +1 -0
- package/package.json +4 -4
- package/dist/constants-Fdcn8dix.mjs +0 -1
- package/dist/dist-PmCem0Y1.mjs +0 -2213
- package/dist/dist-cFe3RAar.mjs +0 -1
- package/dist/init-BV6CaDe-.mjs +0 -1
- package/dist/loader-BXcZEYYI.mjs +0 -1
- package/dist/preview-O9J1QgiJ.mjs +0 -1
- package/dist/public/assets/FeedbackForm-DSpktxby.js +0 -1
- package/dist/public/assets/ManagedArtifactProperties-QH9vWdiF.js +0 -1
- package/dist/public/assets/ManagedArtifactProperties-RRJJJ5iD.js +0 -1
- package/dist/public/assets/SkillModeBanner-CmfPlHVL.js +0 -1
- package/dist/public/assets/ThemePluginSection-DyuaEmFe.js +0 -6
- package/dist/public/assets/ThreadView-nqVvbJMD.js +0 -28
- package/dist/public/assets/config-schema-gPKGwQR7.js +0 -1
- package/dist/public/assets/field-controls-BpWrodXJ.js +0 -1
- package/dist/public/assets/index-9o_6tZBQ.js +0 -2209
- package/dist/public/assets/messages-BDCxJPx2.js +0 -1
- package/dist/public/assets/messages-BEW0uPVX.js +0 -1
- package/dist/public/assets/messages-BO-eBk9m.js +0 -1
- package/dist/public/assets/messages-BaDp2_Fp.js +0 -1
- package/dist/public/assets/messages-CDO-xexo.js +0 -1
- package/dist/public/assets/messages-CRHWN_nJ.js +0 -1
- package/dist/public/assets/messages-CVuWmrbN.js +0 -1
- package/dist/public/assets/messages-C_w7Btlk.js +0 -1
- package/dist/public/assets/messages-CtVlTdzP.js +0 -1
- package/dist/public/assets/messages-Cz11LTJA.js +0 -1
- package/dist/public/assets/messages-D3qz2TwL.js +0 -1
- package/dist/public/assets/messages-DHXe_6Gj.js +0 -1
- package/dist/public/assets/messages-DKWtuhsU.js +0 -1
- package/dist/public/assets/progress-DGkGZKMH.js +0 -10
- package/dist/public/assets/sign-in-terminal-events-D1Wi4Xw6.js +0 -1
- package/dist/public/assets/storage-scope-GPc8n3Ml.js +0 -1
- package/dist/src-DhH0qZar.mjs +0 -1
- package/dist/src-gEJ0A8MC.mjs +0 -16
- package/dist/start-HGsUijz1.mjs +0 -1
- /package/dist/public/assets/{DeleteConfirmationDialog-B0lltyMh.js → DeleteConfirmationDialog-BsTU-OWm.js} +0 -0
- /package/dist/public/assets/{alert-RmVFIy8D.js → alert-Bb4K23ol.js} +0 -0
- /package/dist/public/assets/{folder-config-api-BDhEYA86.js → folder-config-api-oMYXBtrq.js} +0 -0
- /package/dist/public/assets/{format-CJ1bI5np.js → format-eyy9pWAn.js} +0 -0
- /package/dist/public/assets/{settings-section-labels-VKfUFuEe.js → settings-section-labels-DX7VF2VJ.js} +0 -0
- /package/dist/public/assets/{sortable.esm-CFAacZUM.js → sortable.esm-CtrUfCv8.js} +0 -0
|
@@ -6718,6 +6718,7 @@ The following MIT-licensed packages are patched in this repository via pnpm's `p
|
|
|
6718
6718
|
| `cmdk@1.1.1` | `patches/cmdk@1.1.1.patch` |
|
|
6719
6719
|
| `react-medium-image-zoom@5.4.3` | `patches/react-medium-image-zoom@5.4.3.patch` |
|
|
6720
6720
|
| `react-resizable-panels@4.12.1` | `patches/react-resizable-panels@4.12.1.patch` |
|
|
6721
|
+
| `sirv@3.0.2` | `patches/sirv@3.0.2.patch` |
|
|
6721
6722
|
| `y-indexeddb@9.0.12` | `patches/y-indexeddb@9.0.12.patch` |
|
|
6722
6723
|
| `y-prosemirror@1.3.7` | `patches/y-prosemirror@1.3.7.patch` |
|
|
6723
6724
|
|
|
@@ -61,7 +61,7 @@ Tools NOT in OK MCP (your host's): `preview_start`, `preview_screenshot`, `WebFe
|
|
|
61
61
|
- **Native `Read` / `Grep` / `Glob` on in-scope `.md` / `.mdx`** — the original case.
|
|
62
62
|
- **`Bash ls` / `Bash find` / `Bash cat` on dirs containing in-scope markdown** — use `exec("ls -A …")` / `exec("find … -name '*.md'")` / `exec("cat …")`. Native returns bare names; `exec` adds frontmatter, backlinks, and recent activity. `-A` shows hidden entries without `.`/`..`.
|
|
63
63
|
- **Glob patterns that target markdown** — `exec` expands file operands (`cat specs/*.md`); quoted patterns and a command's own pattern (`find -name`) stay literal.
|
|
64
|
-
- **Dispatching the Explore / general-purpose subagent for markdown-heavy exploration** —
|
|
64
|
+
- **Dispatching the Explore / general-purpose subagent for markdown-heavy exploration** — a subagent may start without this skill loaded and then read markdown with its native tools, bypassing OK. Do markdown exploration yourself via `exec` / `search`. Subagents remain appropriate for **source-code** exploration.
|
|
65
65
|
- **Native `Read` / `Grep` on in-scope markdown inside `.ok/`** — `.ok/` is in-scope; treat its `.md` / `.mdx` like any other KB file.
|
|
66
66
|
- **`ls` / `cat` / `find` on skill folders to discover or read a skill** — skills are addressed by `name`+`scope`, not by path (a skill can live in any editor dir, the `.agents/skills/` hub, or a custom root, with copies elsewhere). Use the `skills` tool.
|
|
67
67
|
|
|
@@ -28,7 +28,7 @@ A write that first detects a stale file during its final disk flush returns `urn
|
|
|
28
28
|
| `working-tree` | a pull-only overlay collision, pinned to the origin blob it collided with | writes the chosen bytes to disk; nothing is committed |
|
|
29
29
|
| `reconcile` | OK's own three-way merge of the editor against disk, including stale external saves. No git object holds the stages, so OK snapshots them at detection | writes the chosen bytes to disk and into the loaded document; no git command runs |
|
|
30
30
|
|
|
31
|
-
A `reconcile` conflict carries a `reason`: `
|
|
31
|
+
A `reconcile` conflict carries a `reason`: `refused-conflict-markers` (the disk bytes already carried markers), `disk-markers` (markers landed on disk under an open doc), `refused-no-base` (there was no acknowledged version to merge against), `refused-too-large` (a merge past the size cap or one that failed OpenKnowledge's fidelity check, raised only when the outside version could not be saved to history), or `stale-external-write` (an older displaced version returned on disk). `merged-with-markers` appears only on entries recorded by earlier versions, or in the rare case where both versions were merged but could not be applied to the open document. An outside edit to the same block as edits made here is not a conflict: both versions are kept, this document's version first, and your write reports `disk-edit-reconciled` with `mergeOutcome: "both-kept"` (see `references/doc-editing.md`). The compatibility `conflictKind` field is `stale-external-write` for that last reason and `git` otherwise.
|
|
32
32
|
|
|
33
33
|
## What the user chooses
|
|
34
34
|
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
|
|
11
11
|
**MDX.** To author an MDX doc (the KB renders MDX/JSX components), set `extension: ".mdx"` on the create: `write({ document: { path: "guides/widget", content, extension: ".mdx", position: "replace" } })` lands `guides/widget.mdx`. A `.mdx` suffix typed into `path` works too (the `extension` field wins if you pass both); omit both and it lands `.md`. An existing doc keeps its on-disk extension regardless — changing it in place isn't available via the MCP today.
|
|
12
12
|
|
|
13
|
-
**Advisory warnings on writes.** `write` and `edit` responses may include `structuredContent.document.warnings` (batch: per-doc `structuredContent.documents[].warnings`) — advisory entries discriminated by `kind`, each also summarized as a `⚠` line in the response text. The write always landed; the entries tell you what to do next. Write-integrity kinds mean re-read the doc (`exec("cat <path>")`) before continuing: `content-divergence` (`{ kind, intendedBytes, actualBytes, byteDelta, hint }` — the converged Y.Text doesn't match what the payload composed to: concurrent peer residue, or — rare — a primitive regression) and `disk-edit-reconciled` (an out-of-band disk edit was folded in before your write landed on top). The renderability kind `mermaid-parse-error` (`{ kind, fenceIndex, fenceFirstLine, message, line? }`) means that mermaid fence will not render — fix the fence and re-edit. The top-level `warning` field on write tools is unrelated: it is the preview-attach hint (`action: "attach-preview-once" | "start-ui"`), not an advisory — a separate key from `document.warnings`, and the two can coexist on one response.
|
|
13
|
+
**Advisory warnings on writes.** `write` and `edit` responses may include `structuredContent.document.warnings` (batch: per-doc `structuredContent.documents[].warnings`) — advisory entries discriminated by `kind`, each also summarized as a `⚠` line in the response text. The write always landed; the entries tell you what to do next. Write-integrity kinds mean re-read the doc (`exec("cat <path>")`) before continuing: `content-divergence` (`{ kind, intendedBytes, actualBytes, byteDelta, hint }` — the converged Y.Text doesn't match what the payload composed to: concurrent peer residue, or — rare — a primitive regression) and `disk-edit-reconciled` (an out-of-band disk edit was folded in before your write landed on top; `mergeOutcome` says how: `clean`, `merged`, `both-kept` or `kept-live`). With `"both-kept"` the out-of-band edit changed the same blocks as edits made here, and three counts say what landed: `duplicatedBlocks` blocks are in the doc twice, this doc's version first and the out-of-band version directly under it; `restoredDeletedHere` blocks deleted here came back with the out-of-band version because it changed them; `restoredDeletedOutside` blocks the out-of-band edit deleted stayed with this doc's version because they were changed here. With `"kept-live"` it could not be merged, so the version here stayed and the out-of-band version was saved to the doc's history. Both carry `nextStep: "re-read"`, and in both your write landed: do not retry it. Re-read, and after `both-kept` remove a duplicate, or delete a block restored over a deletion here, with an ordinary `edit` if your task calls for it. A `mergeOutcome` or `nextStep` you do not know means the same as `merged`: re-read. The renderability kind `mermaid-parse-error` (`{ kind, fenceIndex, fenceFirstLine, message, line? }`) means that mermaid fence will not render — fix the fence and re-edit. The top-level `warning` field on write tools is unrelated: it is the preview-attach hint (`action: "attach-preview-once" | "start-ui"`), not an advisory — a separate key from `document.warnings`, and the two can coexist on one response.
|